package edu.sctu.liangyuxiang.day20150512.text1;

/**
 * Created by user06 on 2015/5/12.
 */
public class TextTwo extends TextOne {
    private int number;
    private String action;
    private String color;

    public TextTwo(int number, String action, String color) {
        this.number = number;
        this.action = action;
        this.color = color;
    }
    @Override
    public void getnumber() {
        System.out.println(number);
    }

    @Override
    public void getcolor() {
        System.out.println(color);
    }

    @Override
    public void getaction() {
        System.out.println(action);
    }
}
